using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Reflection;
using emp.SqlServerDAL;


namespace emp.DALFactory
{
    public class DDR
    {
        public static emp.IDAL.IDDR Create()
        {
            /// Look up the DAL implementation we should be using
            string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
            string className = path + ".DDR";

            SqlServerDAL.DDR ddr = new SqlServerDAL.DDR();
            return (IDAL.IDDR)ddr;

        }
    }
}
